package com.webbei.HAO.dao;

import java.util.List;
import java.util.Map;

import com.webbei.pojo.Brands;
import com.webbei.pojo.Carseries;
import com.webbei.pojo.Cartypes;
import com.webbei.pojo.Customer;

public interface ChDao {
	public Customer cus(int id);
    public List<Brands>list();
    public List<Carseries>carlist(int id);
    public List<Customer>cuslist();
    public boolean update(int userid,String username,String realname, String file, String sex, String provaice, String city,String address,String area, String telphone, String phone);
    public void createfile(String userpath);
    public int getUidbyEmail(String mail);
    //public boolean insertUname(String uname,int id,String userface);
    public int register(String mail,String password,String uname,String userface, String nickname);
    public String getMailbyUid(int id);
    public String getPwdbyUid(int id);
    public boolean updatePwdbyEmail(String mail,String pwd);
    public boolean updatePwdbyId(int id,String pwd);
    public int customercheck(String email);
    public int customercheck2(String name);
    public String getPwdByMail(String mail);
    public List<Cartypes>cartypeNamelist(String seriesName);
    public int insertcuslimit(String uname);
  public String LoginTheWebBei(Map<String, String> m);
  public void insertThirdParty(Map map);
  public String getNameByOpenId(String openid);// 
  public int checkEmail(String email);
  public void insertUserhot(String username);
public void insertLovecar(int userid);
public void updatePersonalSign(String username, String personalSign);
}
